home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: usenet.eel.ufl.edu!warwick!spuddy!david
- From: david@spuddy.mew.co.uk (David Turner)
- Subject: Permutations
-
- Message-ID: <Dn8yz9.GGy@spuddy.mew.co.uk>
- Organization: Spud's Public Usenet Domain
- Newsgroup: comp.lang.c
- Date: Fri, 23 Feb 1996 21:13:57 GMT
-
- Does anyone know of an algorithm that works out the different purmutations
- of ordering a number of objects? Not calculating how many there are, but
- actaully working out (quickly?) what they permutations are!
-
- eg. permutations of objects A, B and C:
-
- A B C B A C C A B
- A C B B C A C B A
-
- Any help would be greatly appreciated.
-
- David
-
-
- --
-
-